package com.example.zjx8969.myapplication.dialogManager

import android.content.DialogInterface

interface AbstractQueueDialog {
    var listener: DialogInterface.OnDismissListener
    fun addOnDialogDismissListener(listener: DialogInterface.OnDismissListener) {
        this.listener = listener
    }

    fun showDialog(): Boolean


    fun notifyOtherDialogDismiss() {
        listener.onDismiss(null)
    }
}